home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Assassins - Ultimate CD Games Collection 1
/
Assassins - Ultimate CD Games Collection (1994)(Weird Science)(Track 1 of 2)[!][Amiga-CD32-CDTV][CDD5332].iso
/
wb-games
/
luffar
/
luffar.doc
< prev
next >
Wrap
Text File
|
1978-10-10
|
2KB
|
69 lines
Luffar by Magnus Enarsson
Disclames.
Luffar is safe to use. However, just in case: I take no responsibility
what so ever for any damage caused by the use or misuse of the
program and/or this documentation.
Claims.
Luffar by Magnus Enarsson is FREEWARE so no financial donations are
required. You may NOT change the program or documentation in any
way. Keep the program and documentation together while spreading it.
If you want theverycleversourcecodeinCwithcommentsinenglish you may
send me ten disks with something fun on and I will return one of them
with the sourcecode. Don't send me cheap nonames where only 50% works,
and then only for a week.
History.
I have always been fascinated of the game of noughts and crosses.
The rules are very simple, but it is still hard to be a good player. In
the beginning of the year 1991 I started to work on a method
of making the computer to play. It was hard at the beginning but one
morning when I woke up I knew exactly how to do. Three hours later the routine
was finished. I implemented it in an AMOS program. This year (1993) I
decided to learn C. I was really not satisfied about the AMOS version of the
routine so naturally my first project in C was to make Luffar. Luffar is my
first and, so far, only program that I have written in C.
The name Luffar comes from the swedish name "Luffarschack" which
means "Chess for the vagabonds"
Rules.
Noughts and crosses is easy to learn.
There are two players where one has the x-symbol and the other
has the o-symbol. The players place their symbols every other time
in a empty box. The board contains 15*15 boxes and the x-symbol will always
begin. To win you must place five of your symbols in an unbroken row
vertically, horizontally or diagonal. Six in a row counts as nothing.
How it works.
Luffar is easy to learn too.
With the AHEAD and REWIND buttons you can go quickly through the game.
The RESTART button will rewind to the beginning.
Press the COMPUTERX button if you want the computer to play the crosses.
If you select both COMPUTERX and COMPUTERO the computer will play both
players and it will be a little like a demo.
With the LEFT MOUSEBUTTON you can place your symbol at the board.
With the RIGHT MOUSEBUTTON you can force the computer to make one move.
Spread the word, and the program.